package com.biovr.backend.repository;

import com.biovr.backend.domain.ExpmResult;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by monodev on 2017/7/9.
 */
@Repository
public interface ExpmResultRepository extends MongoRepository<ExpmResult,String> {
    /**
     * 根据用户和实验查找
     * @param UserId
     * @param ExpmId
     * @return
     */
    ExpmResult findByUserIdAndExpmId(String UserId,String ExpmId);
}
